package com.baitengsoft.patentapimonitor.api.service.impl;

import com.baitengsoft.patentapimonitor.api.dao.SysAdmininfoDao;
import com.baitengsoft.patentapimonitor.api.entity.SysAdmininfoEntity;
import com.baitengsoft.patentapimonitor.api.service.SysAdmininfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.HashMap;
import java.util.Map;

/**
 * Created by Admin on 2017/12/14.
 */
@Service
public class SysAdmininfoServiceImpl implements SysAdmininfoService{

    @Autowired
    private SysAdmininfoDao SysAdmininfoDao;

    @Override
    public SysAdmininfoEntity queryByUserName(String username) {
        return SysAdmininfoDao.queryByUserName(username);
    }

    @Override
    public SysAdmininfoEntity queryObject(Long userId) {
        return SysAdmininfoDao.queryObject(userId);
    }

}
